package com.jiutian.hotel.pojo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table (name = "hoteldetail")
public class HotelDetailData {
    private String hotelid;
    private String address;
    private String phone;
    private int bigpicIndex;
    private String transport;
    private String description;
    private String facility;
    private String tip;

    public HotelDetailData(){}
    
    public HotelDetailData(String hotelid,String address,String phone,int bigpic,String transport,String description,String facility,String tip){
        this.hotelid=hotelid;
        this.address=address;
        this.phone=phone;
        this.bigpicIndex=bigpic;
        this.transport=transport;
        this.description=description;
        this.facility=facility;
        this.tip=tip;
    }
    
    @Id
    @Column(name = "hotelid")
    public String getHotelid() {
        return this.hotelid;
    }

    public void setHotelid(String hotelid) {
        this.hotelid = hotelid;
    }

    @Column(name = "address")
    public String getAddress() {
        return this.address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    @Column(name = "phone")
    public String getPhone() {
        return this.phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    @Column(name = "bigpic")
    public int getBigpicIndex() {
        return this.bigpicIndex;
    }

    public void setBigpicIndex(int bigpicIndex) {
        this.bigpicIndex = bigpicIndex;
    }

    @Column(name = "transport")
    public String getTransport() {
        return this.transport;
    }

    public void setTransport(String transport) {
        this.transport = transport;
    }

    @Column(name = "description")
    public String getDescription() {
        return this.description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    @Column(name = "facility")
    public String getFacility() {
        return this.facility;
    }

    public void setFacility(String facility) {
        this.facility = facility;
    }

    @Column(name = "tip")
    public String getTip() {
        return this.tip;
    }

    public void setTip(String tip) {
        this.tip = tip;
    }
}
